<extend name="Layout:layout_content" />
<block name="body_main">
    <div class="grid-parent xsui-page-header">
        <div class="grid-60 mobile-grid-100 grid-parent">
            <a href="{:U('user_edit')}" class="xsui-btn ui-state-default xsui-lnk-add-dialog" title="新增管理员"><i class="fa fa-plus"></i>新增</a>
            <a href="{:U('user_export')}" class="xsui-btn ui-state-default"><i class="fa fa-save"></i>导出</a>
            <a href="{:U('user_export','id=varkey')}" class="xsui-btn ui-state-default xsui-lnk-remove"><i class="fa fa-remove"></i>批量删除</a>
        </div>
        <div class="grid-40 mobile-grid-100 grid-parent xsui-text-right">
            <a href="#" class="xsui-btn ui-state-default xsui-lnk-refresh"><i class="fa fa-refresh"></i>刷新</a>
            <span class="xsui-input-group"><form method="get"><input type="text" name="search_key" value="{$search.search_key}" placeholder="用户名/姓名/手机号码" /><button type="submit" class="ui-state-default"><i class="fa fa-search"></i>搜索</button><button id="btn-search-dialog" class="ui-state-default xsui-icon-only" title="高级搜索"><i class="fa fa-gear"></i></button></form></span>
        </div>
        <div id="search-dialog" class="xsui-hidden">
            <form method="get" class="xsui-form">
                <div class="xsui-form-field">
                    <label>用户名：</label><input type="text" name="user_name" value="{$search.user_name}" />
                </div>
                <button type="submit">保存</button>
            </form>
        </div>
    </div>
    <!--
<div class="xsui-page-header">
<ul class="xsui-tabs">
    <li class="ui-state-default xsui-icon-only"><a href="{:U('UserType/type_list')}"><i class="fa fa-list-alt"></i>类型管理</a></li>
    <li class="ui-state-default xsui-icon-only"><a href="{:U('UserType/type_edit')}"><i class="fa fa-plus"></i>新增类型</a></li>
    <li class="ui-state-default" style="padding:.3em 1.5em"><i class="fa fa-users"></i>用户类型</li>
    <li class="ui-state-active"><a href="/xwam.php/XWAM/User/user_list/type_name/ADMIN/addon/POrgUser.html">管理员</a></li>
    <li class="ui-state-default"><a href="/xwam.php/XWAM/User/user_list/type_name/SERVICES/addon/POrgUser.html">客服人员</a></li>
    <li class="ui-state-default"><a href="/xwam.php/XWAM/User/user_list/type_name/CUSTOMER/addon/POrgUser.html">VIP客户</a></li>
</ul>
</div>
    -->
    <div id="grid-container">
        {$content}
    </div>
</block>
<block name="body_after">    
    <script type="text/javascript">
        $(function () {
            // 动态显示隐藏菜单 2015-10-24 SoChishun Added.
            $('td.status a').togglelink();
        })
    </script>
</block>